using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace Augustu.Models.WMS
{
    [Table("warehouse_zone")]
    public class WarehouseZone : BaseModel
    {
[Column("Id")]
         public long  Id{ get; set;}

         /// <summary>
         /// 仓库id
         /// </summary>
         [Comment("仓库id")]
         [Column("warehouse_id")]
         public long  WarehouseId{ get; set;}

         /// <summary>
         /// 库区名称
         /// </summary>
         [Comment("库区名称")]
         [Column("zone_name")]
         public string  ZoneName{ get; set;} = string.Empty;

         /// <summary>
         /// 库区编号
         /// </summary>
         [Comment("库区编号")]
         [Column("zone_code")]
         public string  ZoneCode{ get; set;} = string.Empty;

         /// <summary>
         /// 是否启用
         /// </summary>
         [Comment("是否启用")]
         [Column("is_enable")]
         public bool  IsEnable{ get; set;}

         /// <summary>
         /// 总容积
         /// </summary>
         [Comment("总容积")]
         [Column("capacity_total")]
         public decimal  CapacityTotal{ get; set;}

         /// <summary>
         /// 已使用容积
         /// </summary>
         [Comment("已使用容积")]
         [Column("capacity_used")]
         public decimal  CapacityUsed{ get; set;}

         /// <summary>
         /// 库区性质
         /// </summary>
         [Comment("库区性质")]
         [Column("zone_property")]
         public int  ZoneProperty{ get; set;}
[Column("update_userId")]
         public string  UpdateUserid{ get; set;} = string.Empty;

    }
}
          
